<template>
  <div class="sensor-houtai-dialog" v-if="isShow">
    <div class="attribute-pan">
      <div class="pan-nav">
        <div class="nav-title">{{ this.title }}</div>
        <div class="nav-close" @click="closeDialog"></div>
      </div>
      <div class="pan-cont"></div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
  },
  data() {
    return {
      isShow: true,
    };
  },
  watch: {
    dataOutput() {
      this.handleInitList();
    },
  },
  methods: {
    handleInitList() {},

    closeBullet() {
      this.isShow = false;
      //   this.$emit("closeDialog");
    },
  },
};
</script>

<style lang="scss" scoped>
.sensor-houtai-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 292px;
  background-color: rgba(8, 16, 42, 0.7);
  .attribute-pan {
    width: 100%;
    height: 100%;
    .pan-nav {
      width: 100%;
      height: 28px;
      background: url("../../../assets/img/BullectBox/弹窗背景条.png") no-repeat;
      background-size: 100% 100%;
      color: #f6f9fe;
      display: flex;
      direction: row;
      .nav-title {
        width: 280px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        font-family: "AlibabaPuHuiTi-2-105-Heavy";
        font-size: 22px;
        font-weight: normal;
        font-style: italic;
        font-stretch: normal;
        letter-spacing: 0px;
        margin-left: 29px;
        margin-top: -16px;
      }
      .nav-info {
        margin-left: 10px;
        margin-top: -12px;
        font-family: "AlibabaPuHuiTi-2-105-Heavy";
        font-size: 18px;
        font-weight: normal;
        font-style: italic;
        font-stretch: normal;
        letter-spacing: 0px;
        color: #f6f9fe;
        cursor: pointer;
      }
      .nav-close {
        margin-left: 10px;
        margin-top: -16px;
        width: 33px;
        height: 33px;
        background: url("../../../assets/img/BullectBox/弹窗关闭.png") no-repeat;
        background-size: 100% 100%;
        cursor: pointer;
      }
    }
    .pan-cont {
      width: 100%;
      height: calc(100% - 28px);
      justify-content: space-around;
    }
  }
}
</style>
